import { httpPost } from "./http"

export function deleteSale(id: number){
    return httpPost(JSON.stringify({id}), '/sale/entity/del')
}

export function searchSalePage(params: string){
    return httpPost(params, '/sale/page')
}